package com.qidian.mes.quality.mapper;


import com.qidian.mes.pojo.Detect;
import com.qidian.mes.pojo.Model;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ModelMapper {
    List<Model> selectAll();

    int deleteById(Long modelId);

    Model queryById(Long modelId);

    int insert(Model model);

    int updateById(Model model);
    List<Detect> selectAllDetect();
    int updateDetectionById(Detect detect);
    int deleteModelDetectionById(Long modelId);
    Detect getModelDetectById(Long detectId);
    int insertNewModelDetection(Detect detect);
}
